Skip to content

CR-078: Sign validation_result ledger events#74

Merged
coreytshaffer merged 2 commits into
mainfrom
cr-078-signed-validation-result-events
Jun 27, 2026
Merged

CR-078: Sign validation_result ledger events#74
coreytshaffer merged 2 commits into
mainfrom
cr-078-signed-validation-result-events

Conversation

@coreytshaffer

Copy link
Copy Markdown
Owner

Summary

Implements CR-078 as the first narrow expansion of signed ledger event coverage beyond route_audit.

This slice adds signed validation_result ledger events while preserving the core boundary that signatures provide provenance only, not approval, safety, or correctness.

Scope

  • Adds signed validation_result ledger event append/verification helpers
  • Requires explicit validation_result:sign capability
  • Adds tests for:
    • valid signed validation result
    • tampering rejection
    • revoked agent rejection
    • unauthorized capability rejection
  • Updates CR docs, backlog, and changelog

Non-goals

  • Does not sign all ledger event types
  • Does not implement runtime key rotation
  • Does not treat signatures as approval or safety
  • Does not persist raw sensitive prompt/data content

Validation

  • python -m py_compile triage_core\task_ledger.py tests\test_task_ledger.py
  • python -m pytest tests\test_task_ledger.py tests\test_agent_identity.py -q
  • python -m pytest tests -q
  • git diff --check

@coreytshaffer coreytshaffer merged commit 34b58ea into main Jun 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant